|
DX11 SET COMPUTE SHADER CBUFFER
Sets a constant buffer to be accessible to the given compute shader.
Up to 12 different constant buffers can be set to slots 0 through 11, and will be bound to shader registers b0 through b11.
DX11 SET COMPUTE SHADER CBUFFER shader, slot, cbuffer
shader Dword The compute shader to set the constant buffer for.
slot Dword The shader register slot to bind the constant buffer to. The valid range is 0 through 11.
cbuffer Dword The constant buffer to bind to the specified slot of the given compute shader.
This function does not return a value.
DIRECTCOMPUTE Functions Menu
DX11 Function Categories
|